package com.test002.entity;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;

public class TestExcel {
	private int id;
	private String name;
	private String logo;
	private String lianxiren;
	private String mobile;
	private String email;
	private String type;
	private String ziben;
	private String faren;
	private String bankname;
	private String cardnum;
	private String identify;
	private String address_jingying;
	private String adress_zhuce;
	private String itemName;
	private String guige;
	private String price;
	private String picture;
	private String genjinren;
	private String area;
	public static TestExcel toTestBean(String[] args){
		TestExcel test = new TestExcel();
		test.name = args[0] != null ? args[0]:"";
		test.logo = args[1] != null ? args[1]:"";
		test.lianxiren = args[2] != null ? args[2]:"";
		test.mobile = args[3] != null ? args[3]:"";
		test.email = args[4] != null ? args[4]:"";
		test.type = args[5] != null ? args[5]:"";
		test.ziben = args[6] != null ? args[6]:"";
		test.faren = args[7] != null ? args[7]:"";
		test.bankname = args[8] != null ? args[8]:"";
		test.cardnum = args[9] != null ? args[9]:"";
		test.identify = args[10] != null ? args[10]:"";
		test.address_jingying = args[11] != null ? args[11]:"";
		test.adress_zhuce = args[12] != null ? args[12]:"";
		test.itemName = args[13] != null ? args[13]:"";
		test.guige = args[14] != null ? args[14]:"";
		test.price = args[15] != null ? args[15]:"";
		test.picture = args[16] != null ? args[16]:"";
		test.genjinren = args[17] != null ? args[17]:"";
		test.area = args[18] != null ? args[18]:"";
		return test;
	}
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getLianxiren() {
		return lianxiren;
	}
	public void setLianxiren(String lianxiren) {
		this.lianxiren = lianxiren;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getZiben() {
		return ziben;
	}
	public void setZiben(String ziben) {
		this.ziben = ziben;
	}
	public String getFaren() {
		return faren;
	}
	public void setFaren(String faren) {
		this.faren = faren;
	}
	public String getBankname() {
		return bankname;
	}
	public void setBankname(String bankname) {
		this.bankname = bankname;
	}
	public String getCardnum() {
		return cardnum;
	}
	public void setCardnum(String cardnum) {
		this.cardnum = cardnum;
	}
	public String getIdentify() {
		return identify;
	}
	public void setIdentify(String identify) {
		this.identify = identify;
	}
	public String getAddress_jingying() {
		return address_jingying;
	}
	public void setAddress_jingying(String address_jingying) {
		this.address_jingying = address_jingying;
	}
	public String getAdress_zhuce() {
		return adress_zhuce;
	}
	public void setAdress_zhuce(String adress_zhuce) {
		this.adress_zhuce = adress_zhuce;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getGuige() {
		return guige;
	}
	public void setGuige(String guige) {
		this.guige = guige;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getGenjinren() {
		return genjinren;
	}
	public void setGenjinren(String genjinren) {
		this.genjinren = genjinren;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
}
